import { saveBsa, saveAnswer} from '@/core/questionnaire'

export default {
    namespaced: true,
    state: {
		selectDatas: null
    },
    mutations: {
		setSelectDatas (state, data) {
			state.selectDatas = {...state.selectDatas, ...data}
		}
    },
    actions: {
        async saveBsa({ commit }, params = {}) {
            return await saveBsa(params)
        },
        async saveAnswer({ commit }, params = {}) {
            return await saveAnswer(params)
        },
    },
}